<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{          
            width: 100%; 
            margin: auto;
            top:0;
            bottom: 0;
            right: 0;
        }
        img{
            width: 400px;
            margin: auto;
            position: absolute;
            top: 0;
            left:0;
            right:0;
            bottom: 0;
        }
    </style>
</head>
<body>
    <div>
        <img src="https://ts1.cn.mm.bing.net/th/id/R-C.6d29410e4cb1c53cc23c27b2f0598c6d?rik=F0cMNiQ3Q%2bYXRw&riu=http%3a%2f%2fimg1.mydrivers.com%2fimg%2f20190907%2fcdef31bbe848448697d494037f11eeef.jpg&ehk=cPEJOZpW6vkoSN2qgRFz%2blah16V%2bODikCEblB9OjP1w%3d&risl=&pid=ImgRaw&r=0" alt="">
    </div>
</body>
</html>